home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_02_03
/
keys.h
< prev
next >
Wrap
Text File
|
1991-03-20
|
737b
|
30 lines
/************
* keys.h
* Definition of IBM keyboard codes
* used by Bob Zigon's Bezier Curve program (pg. 50)
************/
#define ESC 27
#define LEFT (0x200 + 0x4b)
#define RIGHT (0x200 + 0x4d)
#define UP (0x200 + 0x48)
#define DOWN (0x200 + 0x50)
#define PGUP (0x200 + 0x49)
#define PGDN (0x200 + 0x51)
#define HOME (0x200 + 0x47)
#define END (0x200 + 0x4f)
#define INS (0x200 + 0x52)
#define DEL (0x200 + 0x53)
#define F1 (0x200 + 0x3b)
#define F2 (0x200 + 0x3c)
#define F3 (0x200 + 0x3d)
#define F4 (0x200 + 0x3e)
#define F5 (0x200 + 0x3f)
#define F6 (0x200 + 0x40)
#define F7 (0x200 + 0x41)
#define F8 (0x200 + 0x42)
#define F9 (0x200 + 0x43)
#define F10 (0x200 + 0x44)